import Vue from "vue"
import App from "./App.vue"
import router from "./router"
import store from "./store"

import "./styles/reset.css"
import Nav from "./components/Nav";
import Carousel from "./components/Carousel";
import Pagination from "./components/Pagination";
import Dialog from "@/components/Dialog";
if (process.env.NODE_ENV === "development") {
  require("./mock");
}
Vue.component("Carousel", Carousel);
Vue.component("Nav",Nav)
Vue.component("Pagination",Pagination)
Vue.component("Dialog", Dialog);
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app")
